package service;

import dao.NoticeDao;
import domain.Notice;

import java.sql.SQLException;

public class NoticeServlet {
    private NoticeDao dao=new NoticeDao();
    public Notice getRecNotice() throws SQLException{
             return  dao.getRecentNotice();

    }
}
